//
//  GameManager.h
//  gong
//
//  Created by echo on 14-1-11.
//  Copyright (c) 2014年 echo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Memory.h"

@interface GameManager : NSObject

@property (nonatomic, weak) UIView *gameMainViewContainer;
@property (nonatomic, copy) NSString *currentPlaceName;
@property (nonatomic, strong) Memory *memory;
@property (nonatomic, strong) NSMutableArray *memoryArray;

+ (GameManager*)sharedInstance;
- (UIView*)createEntryView;
- (UIView*)createMainGameView;

- (void)gotoStreet;
- (void)gotoPlace;

- (void)showAward:(NSString*)awardText;
- (void)addParticlesWithPoint:(CGPoint)point toView:(UIView*)container;
- (void)removeParticleEffect;

- (void)beginShowRandomNpcInStreet;
- (void)save;

- (BOOL)hasMemory;
- (void)loadMemory;
- (void)loadMemoryByIndex:(NSInteger)saveIndex;
@end
